import type { CheckboxProps as AntdCheckboxProps } from 'antd';
import { Checkbox as AntdCheckbox } from 'antd';
import React from 'react';
import Group from './Group';

export type { CheckboxOptionType } from 'antd';
export type { Props as GroupProps } from './Group';
export { Group };
export type CheckboxProps = AntdCheckboxProps;

function Checkbox(props: CheckboxProps) {
  return <AntdCheckbox {...props}></AntdCheckbox>;
}

Checkbox.Group = Group;
export default Checkbox;
